package com.chenxin.system.domain.vo;

import com.chenxin.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

@Data
public class WmsLogVo implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 搜索值
     */
    @JsonIgnore
    private String searchValue;

    private Long logId;

    @Excel(name = "作业名称")
    private String logName;
    @Excel(name = "请求参数")
    private String logParam;
    @Excel(name = "结果码")
    private String logCode;
    @Excel(name = "结果信息")
    private String logMsg;
    @Excel(name = "调用方法")
    private String logProc;
    @Excel(name = "耗时(毫秒)")
    private Long costTime;
    private Long creator;
    @Excel(name = "创建者")
    private String createName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Map<String, Object> params;
}
